<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>个人查询</title>
<style type="text/css">
</style>
<script type="text/javascript">
	function mycheck() {
		if (form1.name.value == "") {//判断用户名是不为空
			alert("请输入姓名！");
			form1.username.focus();
			return;
		}
		form1.submit();
	}
</script>
</head>
<body>
	<form name="form1" method="POST" action="persult.jsp">
		姓名： <input name="name" type="text"><br><br>		<!-- 设置用户名文本框-->

		<input name="Submit"
			type="button" class="submit1" value="查询" onClick="mycheck()">
	</form>
</body>
</html>